<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vuejs测试</title>
    <script src="Vue/vue.js"></script>
</head>
<body>
<div id="app">
    <input type="text" v-model="num"><button v-on:click="num++">点我</button>
    <h2>{{name}}非常酷!有{{num}}个学科。</h2>
</div>

<script type="text/javascript">
    var app = new Vue({
       el:"#app",
       data:{
           name:"MUZUKI",
           num:1
       }
    });
</script>
</body>
</html>